/**
 * @COPYRIGHT Shanghai RaxTone-Tech Co.,Ltd.
 * @Title: AuthenticationService.java  
 * @Description: TODO 
 * @author jiajing.mo	 
 * @date 2012-9-11
 * @version V1.0 
 * 
 * Modification History: 
 * @date 2012-9-11  |  jiajing.mo  |  Created 
 */
package com.morn.fanfou.authenticator;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

/**
 * Description: TODO.<br>
 * <p>
 * 
 * @author jiajing.mo
 * @version V1.0
 */
public class AuthenticationService extends Service {

	private Authenticator mAuthenticator;

	@Override
	public void onCreate() {
		synchronized (AuthenticationService.class) {
			if (mAuthenticator == null) {
				mAuthenticator = new Authenticator(this);
			}
		}
	}

	@Override
	public IBinder onBind(Intent intent) {
		return mAuthenticator.getIBinder();
	}

}
